//
//  Render.h
//  RenderV1
//
//  Created by 黄翔 on 2019/10/20.
//  Copyright © 2019 黄翔. All rights reserved.
//

#ifndef Render_h
#define Render_h
#include <string>
#include "Component.h"
#include "Material.h"

namespace hxe
{
    class Render:public Component
    {
    public:
        Render(std::vector<Material*>* materials);
        ~Render();
        
        void draw();
        
        Material* getMaterial() const;

    private:
        std::vector<Material*>* materials;
    };
}

#endif /* Render_h */
